package com.ym.b2b.salesman.dao;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.salesman.sqlbean.EmBSalesmanBuyer;
import com.zc.commons.base.Page;

public interface EmBSalesmanBuyerDAO {

    Long searchPageEmBSalesmanBuyerNum(EmBSalesmanBuyer embsalesmanbuyer) throws DataAccessException;

    public Page searchPageEmBSalesmanBuyer(EmBSalesmanBuyer embsalesmanbuyer, Page<EmBSalesmanBuyer> page)
                                                                                                          throws DataAccessException;

    void insertEmBSalesmanBuyer(EmBSalesmanBuyer record) throws DataAccessException;

    int updateEmBSalesmanBuyer(EmBSalesmanBuyer record) throws DataAccessException;

    EmBSalesmanBuyer searchEmBSalesmanBuyer(Long salesmanBuyerId) throws DataAccessException;

    void deleteEmBSalesmanBuyer(EmBSalesmanBuyer record) throws DataAccessException;

    void deleteMultipleEmBSalesmanBuyers(String belongIdList);
}
